package factory;

public class CpuFactory {
	
	public static Cpu createCpu(int type) {
		Cpu cpu = null;
		if (type == 1) {
			cpu = new intelCpu(74);
		} else if (type == 2) {
			cpu = new amdCpu(100);
		}
		return cpu;
	}
}
